package com.qsn.tool.model.dto;

import com.debao.cloud.common.entity.business.model.po.${entity}PO;
<#assign myDateType = ["LocalDateTime"]/>
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * ${table.comment}
 *
 * @author ${author}
 * @date ${date}
 */
<#if entityLombokModel>
@Getter
@Setter
@ToString
</#if>
<#if superEntityClass??>
public class ${entity} implements ${superEntityClass}<#if activeRecord><${entity}></#if> {
<#elseif activeRecord>
public class ${entity} extends Model<${entity}> {
<#else>
@Schema(title = "${entity}DTO", description = "${table.comment}传递参数结构")
public class ${entity}DTO extends ${entity}PO {
</#if>
    private static final long serialVersionUID = 1L;

    @Schema(title = "关键词")
    private String keyword;
    @Schema(title = "分页搜索开始日期")
    private LocalDateTime searchStartDate;
    @Schema(title = "分页搜索结束日期")
    private LocalDateTime searchEndDate;

}